home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Aventura / climatechaos.swf / scripts / frame_5 / PlaceObject2_155_114 / CLIPACTIONRECORD onClipEvent(load).as
Encoding:
Text File  |  2008-09-12  |  444 b   |  26 lines

  1. onClipEvent(load){
  2.    if(Story.isSave())
  3.    {
  4.       this.onRelease = function()
  5.       {
  6.          _root.gotoAndStop(6);
  7.       };
  8.       this.onRollOver = function()
  9.       {
  10.          this.gotoAndStop(2);
  11.       };
  12.       this.onRollOut = function()
  13.       {
  14.          this.gotoAndStop(1);
  15.       };
  16.       this.onPress = function()
  17.       {
  18.          this.gotoAndStop(3);
  19.       };
  20.    }
  21.    else
  22.    {
  23.       this._alpha = 30;
  24.    }
  25. }
  26.